package com.ptp;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.ptp.web.Websocket;

@SpringBootApplication
public class PtpApplication implements CommandLineRunner{

	public static void main(String[] args) {
		SpringApplication.run(PtpApplication.class, args);
	}

	@Override
	public void run(String... args) throws Exception {
        new Websocket().start(null);
	}
}
